package com.jframework.module.usps.beans;

public class ResponseError implements USPSObject {
    
    /*
    <Error>
      <Number>-2147217951</Number>
      <Source>EMI_Respond :EMI:clsEMI.ValidateParameters:
             clsEMI.ProcessRequest;SOLServerIntl.EMI_Respond</Source>
      <Description>Missing value for To Phone number.</Description>
      <HelpFile></HelpFile>
      <HelpContext>1000440</HelpContext>
    </Error>
         */
    
    private String number = null;
    private String source = null;
    private String description = null;
    private String helpFile = null;
    private String helpContext = null;
    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    /**
     * @return the helpContext
     */
    public String getHelpContext() {
        return helpContext;
    }
    /**
     * @param helpContext the helpContext to set
     */
    public void setHelpContext(String helpContext) {
        this.helpContext = helpContext;
    }
    /**
     * @return the helpFile
     */
    public String getHelpFile() {
        return helpFile;
    }
    /**
     * @param helpFile the helpFile to set
     */
    public void setHelpFile(String helpFile) {
        this.helpFile = helpFile;
    }
    /**
     * @return the number
     */
    public String getNumber() {
        return number;
    }
    /**
     * @param number the number to set
     */
    public void setNumber(String number) {
        this.number = number;
    }
    /**
     * @return the source
     */
    public String getSource() {
        return source;
    }
    /**
     * @param source the source to set
     */
    public void setSource(String source) {
        this.source = source;
    }
    
    public String toString()
    {
      StringBuffer strBuf = new StringBuffer("");
      strBuf.append("\nError Number: "+this.number);
      strBuf.append("\nError Description: "+this.description);
      return strBuf.toString();	
    }
    
}
